package com.pengtu.gsj.service.yh;

import java.text.ParseException;
import java.util.List;

import com.pengtu.gsj.dao.base.Page;
import com.pengtu.gsj.dao.base.QueryFilter;
import com.pengtu.gsj.entity.yh.Training;

/**
 * 
 * 
 * TrainingService
 * 
 * 2017年4月18日 下午4:18:59
 * 
 * @version 1.0.0
 * 
 */
public interface TrainingService {

	public List<Training> getTrainings(final QueryFilter queryFilter);

	public Training getTraining(String id);

	public void saveTraining(Training training);

	public Page<Training> findTrainings(final Page<Training> page,
			final QueryFilter queryFilter);

	public void deleteTraining(String id);
	
	public void deleteTraining(Training training);
	
	public List<Training> getCheckTrains(String startTime, String endTime) throws ParseException;
}
